package com.ty.resp;

import lombok.Data;

/**
 * Created by IntelliJ IDEA.
 *
 * @author : txy
 * @create : 2024/1/2 18:53
 */
@Data
public class CommonResp<T> {
    private Integer code = 200;

    //业务逻辑的成功与失败
    private Boolean success = true;

    //返回信息
    private String message;

    //返回的页面数据总数
    private Long total;

    //返回的数据类型
    private T content;
}
